import request from '../utils/request'

export function getAssetDetail (id) {
  return request({
    url: `/asset/asset/${id}`,
    method: 'get'
  })
}

export function updateAsset (data) {
  return request({
    url: '/asset/asset/edit',
    method: 'post',
    data
  })
}
